<%@ Control Language="c#" Inherits="Portal.API.Module" EnableViewState="False" %>
<%@ Import Namespace="System.IO" %>

<script runat="server">
	private string GetPath()
	{
		return ModuleDataPhysicalPath + ModuleRef + ".htm";
	}

	void Page_Load(object sender, EventArgs args)
	{
		if (File.Exists(GetPath()))
		{
			FileStream fs = File.OpenRead(GetPath());
			StreamReader sr = new StreamReader(fs);
			content.InnerHtml = sr.ReadToEnd();
			fs.Close();
		}
	}

</script>
<div id="content" runat="server">
</div>
